package cn.edu.xmu.wnw.dao;

import java.util.List;

import org.springframework.context.ApplicationContext;

import cn.edu.xmu.wnw.pojo.Group;

public interface GroupDAO {

	public void initDao();

	public void save(Group transientInstance);

	public void delete(Group persistentInstance);

	public Group findById(java.lang.Integer id);

	public List findByExample(Group instance);

	public List findByProperty(String propertyName, Object value);

	public List findByName(Object name);

	public List findByDescription(Object description);

	public List findByState(Object state);

	public List findAll();

	public Group merge(Group detachedInstance);

	public void attachDirty(Group instance);

	public void attachClean(Group instance);

	public GroupDAO getFromApplicationContext(ApplicationContext ctx);
}